import { _decorator, Component, Node ,Label } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('FailsPopManager')
export class FailsPopManager extends Component {
    @property({ type: Node })
    failsPop: Node | null = null;
    //Reset
    @property({ type: Node })
    Reset: Node | null = null;

    @property({ type: Label })
    ceShiLabel: Label | null = null;

    start() {

    }

    update(deltaTime: number) {
        
    }

    onReset() {
        this.failsPop.active = false;
        // this.Reset.active = false;

        setTimeout(()=>{
            this.failsPop.active = true;
        },2000)
    }
}


